import Main from "@/components/Main";
import CouponManage from "@/views/CouponManage/CouponList/CouponList";
import VoucherRecord from '@/views/CouponManage/VoucherRecord/VoucherRecord.vue'
export default [{
    path: '/couponManage',
    name: 'couponManage',
    component: Main,
    redirect: "/couponListManage",
    children: [
        {
            path: '/couponListManage',
            name: 'CouponListManage',
            component: CouponManage,
            meta: {
                keepAlive: false, // 是否需要缓存
                requiresAuth: true, // 是否需要身份验证
                tagNav: true, // 是否需要显示在tag列表中
                title: "优惠券列表", // tag标题
            }
        },
        {
            path: '/voucherRecord',
            name: 'VoucherRecord',
            component: VoucherRecord,
            meta: {
                keepAlive: false, // 是否需要缓存
                requiresAuth: true, // 是否需要身份验证
                tagNav: true, // 是否需要显示在tag列表中
                title: "优惠券列表", // tag标题
            }
        },
    ]
}];